
from django.conf.urls import url
from user import views
from user.views import Login, Findpwd, LoginOut, User_info


app_name = 'user'
urlpatterns = [
    url(r'^login/$', Login.as_view(), name='login'),
    url(r'^register/$', views.register, name=' register'),
    url(r'^find_pwd/$', Findpwd.as_view(), name='find_pwd'),
    url(r'^verify/$', views.verify_code, name='verify'),
    url(r'^active/(?P<token>.*)$', views.decrypt, name='decrypt'),
    url(r'^secret_key/$', views.secret, name='secret'),
    url(r'^ajax_find/$', views.ajax_fand_pwd, name='ajax_find'),
    url(r'^logout/$', LoginOut.as_view(), name="logout"),
    url(r'^user_info/$', User_info.as_view(), name='user_info'),
]
